//---------------------------------------------------------------------------

#ifndef suppliersinfoH
#define suppliersinfoH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include "cxClasses.hpp"
#include "cxControls.hpp"
#include "cxCustomData.hpp"
#include "cxData.hpp"
#include "cxDataStorage.hpp"
#include "cxDBData.hpp"
#include "cxEdit.hpp"
#include "cxFilter.hpp"
#include "cxGraphics.hpp"
#include "cxGrid.hpp"
#include "cxGridCustomTableView.hpp"
#include "cxGridCustomView.hpp"
#include "cxGridDBTableView.hpp"
#include "cxGridLevel.hpp"
#include "cxGridTableView.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "cxStyles.hpp"
#include "DBAccess.hpp"
#include "dxLayoutContainer.hpp"
#include "dxLayoutControl.hpp"
#include "dxLayoutControlAdapters.hpp"
#include "MemDS.hpp"
#include "Uni.hpp"
#include <Data.DB.hpp>
#include <Vcl.ActnList.hpp>
#include <Vcl.DBCtrls.hpp>
#include <Vcl.ExtCtrls.hpp>
#include "cxDBLookupComboBox.hpp"

#include <Vcl.Dialogs.hpp>
//---------------------------------------------------------------------------
class TFormSuppliers : public TForm
{
__published:	// IDE-managed Components
	TdxLayoutControl *dxLayoutControl1;
	TEdit *EditID;
	TEdit *EditName;
	TButton *ButtonQuery;
	TcxGrid *cxGrid1;
	TcxGridDBTableView *cxGrid1DBTableView1;
	TcxGridLevel *cxGrid1Level1;
	TDBNavigator *DBNavigator1;
	TCheckBox *CheckBoxModify;
	TdxLayoutGroup *dxLayoutGroup1;
	TdxLayoutGroup *dxLayoutGroup2;
	TdxLayoutItem *dxLayoutItem1;
	TdxLayoutItem *dxLayoutControl1Item2;
	TdxLayoutItem *dxLayoutControl1Item5;
	TdxLayoutItem *dxLayoutControl1Item8;
	TdxLayoutItem *dxLayoutControl1Item10;
	TdxLayoutItem *dxLayoutControl1Item7;
	TUniDataSource *UniDataSourceSuppliers;
	TUniQuery *UniQuerySuppliers;
	TUniTable *UniTableCategories;
	TUniDataSource *UniDataSourceCategories;
	TActionList *ActionList1;
	TAction *ActionEsc;
	TcxGridDBColumn *cxGrid1DBTableView1SupplierID;
	TcxGridDBColumn *cxGrid1DBTableView1Name;
	TcxGridDBColumn *cxGrid1DBTableView1CorporateName;
	TcxGridDBColumn *cxGrid1DBTableView1Category;
	TcxGridDBColumn *cxGrid1DBTableView1Address;
	TcxGridDBColumn *cxGrid1DBTableView1Phone;
	TcxGridDBColumn *cxGrid1DBTableView1Email;
	TcxGridDBColumn *cxGrid1DBTableView1Contact;
	TcxGridDBColumn *cxGrid1DBTableView1Remark;
	TcxGridDBColumn *cxGrid1DBTableView1BankAccount;
	TUniTable *UniTableBanks;
	TUniDataSource *UniDataSourceBanks;
	TButton *ButtonExport;
	TdxLayoutItem *dxLayoutControl1Item1;
	TSaveDialog *SaveDialog1;
	void __fastcall ActionEscExecute(TObject *Sender);
	void __fastcall ButtonQueryClick(TObject *Sender);
	void __fastcall CheckBoxModifyClick(TObject *Sender);
	void __fastcall ButtonExportClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
	__fastcall TFormSuppliers(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFormSuppliers *FormSuppliers;
//---------------------------------------------------------------------------
#endif
